<? 
	global $FullUrl, $lg, $partners; 
	
?>
<?
	if($partners)
	{
?>
<div class="flex-slider">
    <h2>ĐỐI TÁC</h2>
    <div class="flexslider carousel">
          <ul class="slides">
          <?
          for($i = 0; $i < count($partners); $i++)
		  {
			  $partner = $partners[$i];
			  
			  $rs = $partner['url'];
			  $img = GetImage($rs);	
			  $w = 90;
			  $h = 90;
			  $sizes = fixSize($img, $w, $h);
			  $sizes_img_true = getimagesize($img);
			  $url_image = $img;
		  ?>
        <li><a href="<?=$partner['href_src']?>" target="_blank"> <img src="<?= GetPHPThumb($url_image, 90, 90); ?>" alt="<?=$partner['alt_vn']?>" title="<?=$partner['title_vn']?>" style="margin-top:<?= ImageCenter($sizes['height'],
            90) ?>px" /> </a></li>
        <?
		  }
		?>
      </ul>
        </div>
  </div>
<?
	}
?>  